home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmSetFontUnits.z
/
XmSetFontUnits
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmSSSSeeeettttFFFFoooonnnnttttUUUUnnnniiiittttssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSeeeettttFFFFoooonnnnttttUUUUnnnniiiittttssss((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmSSSSeeeettttFFFFoooonnnnttttUUUUnnnniiiittttssss - A function that sets the font unit value
for a display
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Xm.h>
vvvvooooiiiidddd XXXXmmmmSSSSeeeettttFFFFoooonnnnttttUUUUnnnniiiittttssss(
DDDDiiiissssppppllllaaaayyyy **** ddddiiiissssppppllllaaaayyyy,
iiiinnnntttt hhhh____vvvvaaaalllluuuueeee,
iiiinnnntttt vvvv____vvvvaaaalllluuuueeee);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmSSSSeeeettttFFFFoooonnnnttttUUUUnnnniiiittttssss provides an external function to initialize
font unit values. Applications may want to specify
resolution-independent data based on a global font size.
This function must be called before any widgets with
resolution-independent data are created. See the
XXXXmmmmNNNNuuuunnnniiiittttTTTTyyyyppppeeeeresource description in the reference pages for
XXXXmmmmGGGGaaaaddddggggeeeetttt, XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr, and XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee for more information on
resolution independence.
This function sets the font units for all screens on the
display.
NNNNOOOOTTTTEEEE::::XXXXmmmmSSSSeeeettttFFFFoooonnnnttttUUUUnnnniiiittttssss is obsolete and exists for compatibility
with previous releases. Instead of using this function,
provide initial values or call XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss for the XmScreen
resources XXXXmmmmNNNNhhhhoooorrrriiiizzzzoooonnnnttttaaaallllFFFFoooonnnnttttUUUUnnnniiiittttand XXXXmmmmNNNNvvvveeeerrrrttttiiiiccccaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt.
_d_i_s_p_l_a_y Defines the display for which this font unit value
is to be applied.
_h__v_a_l_u_e Specifies the value to be used for horizontal
units in the conversion calculations.
_h__v_a_l_u_e Specifies the value to be used for vertical units
in the conversion calculations.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmCCCCoooonnnnvvvveeeerrrrttttUUUUnnnniiiittttssss(3), XXXXmmmmSSSSeeeettttFFFFoooonnnnttttUUUUnnnniiiitttt(3), XXXXmmmmGGGGaaaaddddggggeeeetttt(3),
XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr(3), XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee(3), and XXXXmmmmSSSSccccrrrreeeeeeeennnn(3).
Page 1 (printed 10/24/98)